package com.imooc.mall.model.request;

public class ProductListReq {
    // 关键字
    private String keyWord;

    private Integer categoryId;

    // 排序
    private String orderBy;

    private Integer pageNum=1;

    private Integer pageSize=10;

    public String getKeyWord() {
        return keyWord;
    }

    public ProductListReq setKeyWord(String keyWord) {
        this.keyWord = keyWord;
        return this;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public ProductListReq setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
        return this;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public ProductListReq setOrderBy(String orderBy) {
        this.orderBy = orderBy;
        return this;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public ProductListReq setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public ProductListReq setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }
}